
public class Test {
	private boolean x;
	
	public Test() {
		this(false);
	}
	
	public Test(boolean initialValue) {
		this.x = initialValue;
	}
	
	public boolean getX() {
		return x;
	}
	
	public static void main(String[] args) {
		Test test = new Test();
		System.out.println(test.getX());
		
		Test test2 = new Test(true);
		System.out.println(test2.getX());
	}
}
